"use strict";

const log = require("npmlog");

log.heading = "azir";
log.headingStyle = { fg: "yellow" };
log.level = process.env.LOG_LEVEL ? process.env.LOG_LEVEL : "info";

log.addLevel("success", 2000, { fg: "green", bold: true });
log.addLevel("debug", 1000, { fg: "cyan", bg: "black" });

module.exports = log;
